﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Dto.PermissionManagement.RoleFunction
{
    /// <summary>
    /// 获取树型列表返回
    /// </summary>
    public class GetRoleFunctionTreeListDto
    {
        /// <summary>
        /// 菜单
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 功能名字
        /// </summary>
        public string FunctionName { get; set; }

        /// <summary>
        /// 请求出入PermissionSettingsRoleId时用到字段，true有权限，false没有
        /// </summary>
        public bool IsPermission { get; set; }

        /// <summary>
        /// 拥有的子菜单
        /// </summary>
        public List<GetRoleFunctionTreeListDto> Children { get; set; }
    }
}
